/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package profunctii;
import Operatori.*;
import Functii.*;
import Arbori.*;

/**
 *
 * @author User
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Nod x=new Necunoscuta();
        Constanta nr=new Constanta(3);
        Nod plus= new Plus();
        Nod log=new Log();
        Nod y=new Necunoscuta();
        Nod putere=new Putere();
        
        plus.setfStang(putere);
        plus.setfDrept(log);
        log.setfStang(x);
        putere.setfStang(y);

        ArboreFunctional a=new ArboreFunctional(plus);



        /*System.out.println(a.calculeazaValoare(3)+"\n");
        System.out.println(a.derivata()+"\n");
        System.out.println(a.calculDerivata(3)+"\n");*/
    }

}
